<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>添加省份</title>
    <link rel="stylesheet" th:href="@{/css/bootstrap.min.css}" />
    <script th:src="@{/js/jquery-3.6.0.min.js}"></script>
</head>
<body>
<div class="panel panel-primary">
    <div class="panel-heading">
        <div th:replace="~{header}">
        </div>
    </div>
</div>
<div class="container">

    <br><br><br><br>
    <div   style="width:500px; height:70px;">
        <h4 align="center">添加省份</h4>
    </div><br>
    <form name="myform" method="post"  class="form-horizontal" action="/shopping/province/save">
        <div class="form-group has-success">
            <label class="col-sm-2 col-md-2 control-label">省份编号</label>
            <div class="col-sm-4 col-md-4">
                <input type="text" class="form-control" name="pid" placeholder="请输入省份编号"  required/>
            </div>
        </div>


        <div class="form-group has-success">
            <label class="col-sm-2 col-md-2 control-label">省份名称</label>
            <div class="col-sm-4 col-md-4">
                <input type="text" class="form-control" name="pname"
                       placeholder="请输入省份名称"  required/>
            </div>
        </div>

        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <span style="display:inline-block;width:80px"></span>
                <button type="submit"class="btn btn-success" >添加</button>
                <span style="display:inline-block;width:40px"></span>
                <button type="reset" class="btn btn-primary" >重置</button>
            </div>
        </div>
    </form>
</div>

</body>
</html>